package fr.blogger.ejb.facade;

import java.util.List;

import javax.ejb.Stateless;
import javax.inject.Named;

import fr.blogger.ejb.model.Profil;
import fr.blogger.ejb.model.Role;

@Named
@Stateless
public class ProfilFacade extends AbstractFacade<Profil> {

	public Profil editerProfil(Profil profil, List<Role> listeRole) {
		profil.setListeRole(listeRole);
		return update(profil);
	}

	
}
